/**
 * list []形式书写
 */
void main() {
  var user = ['ai', 'jimi', 'mask'];
  List<String> lang = <String>[];
  lang.add('java');
  lang.add('python');
  lang.add('dart');

  List<int> number = [1, 2, 3, 4, 5];
  List<String> name = ['a', 'b', 'c'];

  List<int> fiex = List<int>.filled(5, 0);

  for (var x in user) {
    print(x);
  }
  number.add(23);
  number.addAll([1, 2, 3]);
  print(number.contains(2));
  print(number.length);
  number.sort();
  print(number);
  number.remove(2);

}
